<?php
namespace app\index\validate;

use think\Validate;

/**
 * 前台登录验证
 * Class Login
 * @package app\api\validate
 */
class Login extends Validate {

    protected $rule = [
        'mobile'     => 'require',
        'password'  => 'require'
    ];

    protected $message = [
        'mobile.require' => '手机号不能为空',
        'password.require'  => '密码不能为空'
    ];
}